package br.inf.solutions.apresentacoes.ssp.model.enums;

public enum NumberHat {

	N46("46"),
	N48("48"),
	N50("50"),
	N52("52"),
	N54("54"),
	N56("56"),
	N58("58"),
	N60("60");
	
	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	private NumberHat(String name){
		this.name = name;
	}
	
	public static NumberHat getNumberHatById(Integer id) {  
        return NumberHat.values()[id];  
      } 
	
	@Override
	public String toString() {
		return this.name;
	}
	
}
